<?php
die();
 echo phpinfo();
 exit;
 $link = mysqli_connect('10.8.16.80','user_xyb_xy','QauXybXy12#$');
     if (!$link){
     exit('连接数据库失败');}
     mysqli_set_charset($link,'utf8');
     mysqli_select_db($link,'cwgl');
     $sql = "select * from cw_user";
	 echo "22222";
	echo $sql;
	exit();
	 
	 exit;
$dbhost = '10.8.16.80';
$dbuser = 'user_xyb_xy';
$dbpass = 'QauXybXy12#$';
$dbdatabase     = 'icdc';


$db=new mysqli($dbhost,$dbuser,$dbpass);
if(mysqli_connect_error()){
echo 'Could not connect to database.';
exit;
}
 
$result=$db->query("SELECT id,name FROM user");
$row=$result->fetch_row();

exit('22222');

$dbhost = '10.8.16.80:1521';
$dbuser = 'user_xyb_xy';
$dbpass = 'QauXybXy12#$';
$db     = 'icdc';


$conn  = mysqli_connect($dbhost,$dbuser,$dbpass);

if(! $conn){
  die('Could not connect connect: ') ;
}

echo 'Successfully Connected';


$sql = 'Connected Successfully';
  $retvalue = mysqli_query($sql);

  if(! $retvalue){
    die('Cannot connect to SQL: ');
  }

echo 'DataBase test_db13 has successfully created';

mysqli_close($conn);

 ?>